import { createMemoryHistory, createRouter } from 'vue-router'
// import Router from 'vue-router';
// import Vue from 'vue';
import jiaoben from '../components/jiaoben/jiaoben.vue'
import AboutView from '../components/about/AboutView.vue'
import syslog from '../components/logs/syslog.vue'

const routes = [
  { path: '', component: jiaoben },
  { path: '/home', component: jiaoben },
  { path: '/about', component: AboutView },
  { path: '/log', component: syslog },
]

const router = createRouter({
  history: createMemoryHistory(),
  routes,
})

export default router